<?php 
/**
 * NOTICE OF LICENSE
 *
 * This source file is subject to the  Academic Free License (AFL 3.0)
 * that is available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to support@zprofess.com so we can send you a copy immediately.
 *
 * @category   	Prestashop module
 * @package		Help Desk
 * @version 	1.0
 * @author 		Kurosaki <kurosaki@zprofess.com>
 * @copyright   Copyright (c) 2012 ZPROFESS. (http://zprofess.com)
 * @license    	http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

include_once(dirname(__FILE__).'/../../classes/AdminTab.php');
class ZAdminHelpDesk extends AdminTab{
	
 	/**
     * Sole constructor
    */ 
    public function __construct() {
    	global $cookie;
        parent::__construct();
        header('Location:index.php?tab=ZadminTicket&token=' . Tools::getAdminToken('ZadminTicket' . TabCore::getIdFromClassName('ZadminTicket') . (int) $cookie->id_employee));
    }
	
	public function display()
	{
		echo '<fieldset><legend>'.$this->l('HELP DESK').'</legend>';
		echo '</fieldset>';
	}
}

?>